[INFO] fetching crate registry 1.1.1...
[INFO] building registry-1.1.1 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate registry 1.1.1 into /workspace/builds/worker-10/source
[INFO] validating manifest of crates.io crate registry 1.1.1 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate registry 1.1.1
[INFO] finished tweaking crates.io crate registry 1.1.1
[INFO] tweaked toml for crates.io crate registry 1.1.1 written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate crates.io crate registry 1.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded utfx v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ba48050c8fcf522f08a16d1cf78d1be4e6cfffa17f368c86efc8d4da9946286
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4ba48050c8fcf522f08a16d1cf78d1be4e6cfffa17f368c86efc8d4da9946286", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ba48050c8fcf522f08a16d1cf78d1be4e6cfffa17f368c86efc8d4da9946286", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ba48050c8fcf522f08a16d1cf78d1be4e6cfffa17f368c86efc8d4da9946286", kill_on_drop: false }`
[INFO] [stdout] 4ba48050c8fcf522f08a16d1cf78d1be4e6cfffa17f368c86efc8d4da9946286
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db1eaf1ebebf70855ab5272ebe4e2bfa2c21563ba5233801952ec811ebb4dd20
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "db1eaf1ebebf70855ab5272ebe4e2bfa2c21563ba5233801952ec811ebb4dd20", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.69
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling utfx v0.1.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling registry v1.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 11.70s
[INFO] running `Command { std: "docker" "inspect" "db1eaf1ebebf70855ab5272ebe4e2bfa2c21563ba5233801952ec811ebb4dd20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db1eaf1ebebf70855ab5272ebe4e2bfa2c21563ba5233801952ec811ebb4dd20", kill_on_drop: false }`
[INFO] [stdout] db1eaf1ebebf70855ab5272ebe4e2bfa2c21563ba5233801952ec811ebb4dd20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 6f9f6f5e70106fdac174d90d310f45cb3224a8e83eee7da3e100f344849d2458
[INFO] running `Command { std: "docker" "start" "-a" "6f9f6f5e70106fdac174d90d310f45cb3224a8e83eee7da3e100f344849d2458", kill_on_drop: false }`
[INFO] [stderr]    Compiling registry v1.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `registry::Hive`, `registry::RegKey`, `registry::Security`
[INFO] [stdout]  --> examples/appkey.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use registry::{Hive, RegKey, Security};
[INFO] [stdout]   |                ^^^^  ^^^^^^  ^^^^^^^^ no `Security` in the root
[INFO] [stdout]   |                |     |
[INFO] [stdout]   |                |     no `RegKey` in the root
[INFO] [stdout]   |                no `Hive` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> examples/private-hive.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::processthreadsapi::GetCurrentProcess;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> examples/private-hive.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::winnt::TOKEN_ADJUST_PRIVILEGES;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> examples/private-hive.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     shared::ntdef::LUID,
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> examples/private-hive.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     um::{
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `registry::Hive`, `registry::Security`
[INFO] [stdout]  --> examples/private-hive.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use registry::{Hive, Security};
[INFO] [stdout]   |                ^^^^  ^^^^^^^^ no `Security` in the root
[INFO] [stdout]   |                |
[INFO] [stdout]   |                no `Hive` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let r = unsafe { OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &mut token) };
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:18:39
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let r = unsafe { OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &mut token) };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_PRIVILEGES` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:18:60
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let r = unsafe { OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &mut token) };
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SE_RESTORE_NAME` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |     set_privilege(token, SE_RESTORE_NAME)?;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SE_BACKUP_NAME` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |     set_privilege(token, SE_BACKUP_NAME)?;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn set_privilege(handle: HANDLE, name: &str) -> Result<(), std::io::Error> {
[INFO] [stdout]    |                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LUID` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut luid: LUID = LUID {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LUID` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut luid: LUID = LUID {
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LookupPrivilegeValueW` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let r = unsafe { LookupPrivilegeValueW(std::ptr::null(), name.as_ptr(), &mut luid) };
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TOKEN_PRIVILEGES` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut privilege = TOKEN_PRIVILEGES {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LUID_AND_ATTRIBUTES` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:50:22
[INFO] [stdout]    |
[INFO] [stdout] 50 |         Privileges: [LUID_AND_ATTRIBUTES {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SE_PRIVILEGE_ENABLED` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Attributes: SE_PRIVILEGE_ENABLED,
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustTokenPrivileges` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         AdjustTokenPrivileges(
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TOKEN_PRIVILEGES` in this scope
[INFO] [stdout]   --> examples/private-hive.rs:61:33
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn set_privilege(handle: HANDLE, name: &str) -> Result<(), std::io::Error> {
[INFO] [stdout]    |                 - help: you might be missing a type parameter: `<TOKEN_PRIVILEGES>`
[INFO] [stdout] ...
[INFO] [stdout] 61 |             std::mem::size_of::<TOKEN_PRIVILEGES>() as u32,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `registry`
[INFO] [stdout] error: aborting due to 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "6f9f6f5e70106fdac174d90d310f45cb3224a8e83eee7da3e100f344849d2458", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f9f6f5e70106fdac174d90d310f45cb3224a8e83eee7da3e100f344849d2458", kill_on_drop: false }`
[INFO] [stdout] 6f9f6f5e70106fdac174d90d310f45cb3224a8e83eee7da3e100f344849d2458
